<template>

    <Subconent :message="msg" :list="list"></Subconent>
    <p ref="p">这是一个xiaop</p>
</template>
<script>
import Subconent from './Subconent.vue';
export default {
    data() {
        return {
            msg: "Hello subConent",
            list: [1, 2, 3, 4, 5],
            a:10
        }
    }, components:{
        Subconent
    },
    mounted() { 
        // console.log(this.$refs.p);
        // console.log(this.$refs.hello);
    }
}

</script>